file=$(date "+%Y%m%d_%H%M")_backup.sql.gz
echo "backing up to file $file ..."
ssh www@jz '/opt/mysql/bin/mysqldump xingtan -u root --password="" -h127.0.0.1' | gzip > ${file}

